export function clearSearchText() {
  return {
    type: 'CLEAR_SEARCH_TEXT'
  }
}

export function updateSearchText(payload) {
  return {
    type: 'UPDATE_SEARCH_TEXT',
    payload
  }
}

export function fillInSearchText(payload) {
  return {
    type: 'FILL_SEARCH_INPUT_WITH_TAKED_HISTORY',
    payload,
  }
}

export function updateInputHistory(payload) {
  return {
    type: 'UPDATE_INPUT_HISTORY',
    payload,
  }
}